luci-theme-material: add css class button-row
authorFlorian Eckert <[email protected]>
Fri, 7 Jun 2024 10:51:00 +0000 (12:51 +0200)
committerFlorian Eckert <[email protected]>
Tue, 9 Jul 2024 14:19:51 +0000 (16:19 +0200)
Signed-off-by: Florian Eckert <[email protected]>
themes/luci-theme-material/htdocs/luci-static/material/cascade.css

index 5434e108b596386c93a71ac28ee64abc0ddc6ef8..fdcb98eb5b13f34ad39ba8c2ecf837a15e603bf7 100644 (file)
@@ -1749,6 +1749,19 @@ body:not(.Interfaces) .cbi-rowstyle-2:first-child {
        max-height: none;
 }
 
+.modal .button-row {
+       display: flex;
+       justify-content: space-between;
+}
+
+.modal .button-row > :not(:last-child) {
+       margin-right: .5em;
+}
+
+.modal .button-row > :first-child {
+       margin-right: auto;
+}
+
 body.modal-overlay-active {
        overflow: hidden;
        height: 100vh;